using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Runtime.Serialization;


namespace objetos
{


    [Serializable()]
	#region TB_BANCO
	/// <summary>
	/// This object represents the properties and methods of a TB_BANCO.
	/// </summary>
    public class OBJ_TB_BANCO : IComparer<OBJ_TB_BANCO>
	{
		#region Construtor
		public OBJ_TB_BANCO() {}
		#endregion
		
		#region Public Properties
		
		private int _id;
		private string _codigo = String.Empty;
		private string _nome = String.Empty;
		private string _site = String.Empty;
		
        
		public int id
		{
			get {return _id;}
			set {_id = value;}
		}
		
		public string codigo
		{
			get {return _codigo;}
			set {_codigo = value;}
		}

		public string nome
		{
			get {return _nome;}
			set {_nome = value;}
		}

		public string site
		{
			get {return _site;}
			set {_site = value;}
		}
		#endregion



        public int Compare(OBJ_TB_BANCO x, OBJ_TB_BANCO y)
        {
            return string.Compare(x.nome, y.nome);
        }
    }
	#endregion
}

